package com.xiaowu.netmusic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaowu.netmusic.domain.dto.PlaylistCreateDTO;
import com.xiaowu.netmusic.domain.po.Playlist;
import com.xiaowu.netmusic.domain.vo.PlaylistDetailVO;
import com.xiaowu.netmusic.domain.vo.PlaylistVO;

import java.util.List;

public interface PlaylistService extends IService<Playlist> {
    void createPlaylist(PlaylistCreateDTO dto, Long userId);

    List<PlaylistVO> getPlaylistsByUser(Long userId);

    PlaylistDetailVO getPlaylistDetail(Long playlistId);

    void deletePlaylist(Long playlistId);

}
